/**
 * Created by zdx  on 2016/8/26.
 *
 *
 */

define(['controller'], function (c) {
   var map =function () {
        this.map=null;

    };
    map.prototype.init=function (dom) {

        this.map =new google.maps.Map(document.getElementById(dom), {
            center: new google.maps.LatLng(30.5729027,104.2272944),
            disableDefaultUI: false,
            scaleControl:true,
            streetViewControl: false,
            mapTypeControl: true,
            mapTypeControlOptions:{
                position:google.maps.ControlPosition.LEFT_BOTTOM
            },
            zoomControl: true,
            zoom: 13
        });
    };

    return map;
});